//
//  PoiFrameViewController.h
//  FootPrint
//
//  Created by 秦 东方 on 4/10/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PoiFavViewController.h"
#import "PoiSearchViewController.h"
#import "POISelDelegate.h"

/////////////////////////

@interface PoiFrameViewController : UIViewController <POISelDelegate> {

    PoiFavViewController*     _favVC;
    PoiSearchViewController*  _searchVC;
    
    UIViewController*  _currentVC;

}

@property (retain, nonatomic) IBOutlet UIButton *btnBack;
@property (retain, nonatomic) IBOutlet UIView *contentView;

@property (assign, nonatomic) id<POISelDelegate>    selDelegate;

@property (assign, nonatomic) int mode;
@property (retain, nonatomic) IBOutlet UISegmentedControl *segment;
- (IBAction)segmentChange:(id)sender;

- (IBAction)back:(id)sender;
- (void)setOpenMode:(PoiOpenMode)openMode;// 0 为管理模式，1为选择模式


@end
